<html>
<head><meta charset="utf-8"><title>SIMD in Rust notes · project-portable-simd · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/index.html">project-portable-simd</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html">SIMD in Rust notes</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="210546281"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/SIMD%20in%20Rust%20notes/near/210546281" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html#210546281">(Sep 18 2020 at 16:48)</a>:</h4>
<p>So a few days ago I indexed every single vaguely-SIMD-related issue in the rust-lang repo along with the relevant RFCs and tracking issues for my personal notes. While I realize that our concern is limited to Portable SIMD, not Absolutely Everything About SIMD, uhhh, given that the concerns will cross over <em>ever-so slightly</em>, is this kind of reference material desirable i.e. should I pretty up my notes and post them?</p>



<a name="210547711"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/SIMD%20in%20Rust%20notes/near/210547711" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html#210547711">(Sep 18 2020 at 17:00)</a>:</h4>
<p>yes, notes please</p>



<a name="210547781"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/SIMD%20in%20Rust%20notes/near/210547781" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html#210547781">(Sep 18 2020 at 17:01)</a>:</h4>
<p>cool, should I throw them in the main hackmd or make a separate one and probably link it from that one?</p>



<a name="210549103"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/SIMD%20in%20Rust%20notes/near/210549103" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html#210549103">(Sep 18 2020 at 17:13)</a>:</h4>
<p>a distinct hackmd sounds better</p>



<a name="210549181"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/SIMD%20in%20Rust%20notes/near/210549181" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html#210549181">(Sep 18 2020 at 17:14)</a>:</h4>
<p>and yeah, link it in the current main hack</p>



<a name="210549508"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/SIMD%20in%20Rust%20notes/near/210549508" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html#210549508">(Sep 18 2020 at 17:17)</a>:</h4>
<p>fair enough~ that also lets me include more marginalia since I'm not competing for space, and if anyone wants to lift and inline parts of it, that's fine. just trying to dial in the EXCITABLE TORRENT OF INFORMATION to an uh, desired amount, rather than RUN FOR THE ARK, THE DELUGE COMETH.</p>



<a name="210564505"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/SIMD%20in%20Rust%20notes/near/210564505" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html#210564505">(Sep 18 2020 at 19:22)</a>:</h4>
<p>There, I extracted a segment from my notes that was faster/easier to clean up to legibility: <a href="https://hackmd.io/-LaVJuO2SuS53uGX-D76tA?view">https://hackmd.io/-LaVJuO2SuS53uGX-D76tA?view</a></p>
<p>Feel free to link in any RFCs I missed or major issues that might be relevant, I tried to cover all of the former but was slightly more conservative on the latter (in part because I need to re-review everything I grabbed).</p>



<a name="210577769"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/SIMD%20in%20Rust%20notes/near/210577769" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html#210577769">(Sep 18 2020 at 21:31)</a>:</h4>
<p><a href="https://docs.google.com/spreadsheets/d/1MqW1g8c7tlhdRWQixgdWvR4uJHNZzCYAf4V0oHjZkwA/edit#gid=0">https://docs.google.com/spreadsheets/d/1MqW1g8c7tlhdRWQixgdWvR4uJHNZzCYAf4V0oHjZkwA/edit#gid=0</a> is a more up to date neon intrinsics count, if we care about that detail</p>



<a name="210577959"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/SIMD%20in%20Rust%20notes/near/210577959" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html#210577959">(Sep 18 2020 at 21:33)</a>:</h4>
<p>oh nice, so Rust has 12% Neon coverage?</p>



<a name="210578739"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/SIMD%20in%20Rust%20notes/near/210578739" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html#210578739">(Sep 18 2020 at 21:43)</a>:</h4>
<p>I'm not sure that's even the best way to measure it, on the individual op level, because for example there's like a whole huge pile of junk that's basically "you implement this with transmute", so as soon as you do <em>any</em> of that portion you're likely to do all of that series of ops.</p>



<a name="210578740"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/SIMD%20in%20Rust%20notes/near/210578740" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html#210578740">(Sep 18 2020 at 21:43)</a>:</h4>
<p>yeah, about</p>



<a name="210578805"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/SIMD%20in%20Rust%20notes/near/210578805" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html#210578805">(Sep 18 2020 at 21:44)</a>:</h4>
<p>oops, messages sent out of order, oh well</p>



<a name="210578855"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/SIMD%20in%20Rust%20notes/near/210578855" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html#210578855">(Sep 18 2020 at 21:45)</a>:</h4>
<p>Anyway, it's the most absolutely boring type of PR to do, so I don't blame anyone that it hasn't ever been done.</p>



<a name="210581880"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/SIMD%20in%20Rust%20notes/near/210581880" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html#210581880">(Sep 18 2020 at 22:30)</a>:</h4>
<p>Right, there's a lot of things that are just "one macro later..."</p>



<a name="210582369"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/SIMD%20in%20Rust%20notes/near/210582369" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/SIMD.20in.20Rust.20notes.html#210582369">(Sep 18 2020 at 22:39)</a>:</h4>
<p>oh hey I have an ARMv8 machine, I didn't know that.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>